$(document).ready(function () {
    "${class_path}";
    "${class_diff}";

    var clazzPath = $(".el_package").html() + "/" + $(".el_source").html();

    if (allClazzPaths.indexOf(clazzPath) > -1) {
        var coordinates = allClazzDiffs[clazzPath];
        if (coordinates.length == 0) {
            var spans = $("span");
            spans.each(function () {
                if ($(this).attr("id") != undefined) {
                    view($(this));
                }
            });
        } else {
            for (var i = 0; i < coordinates.length; i++) {
                var index = parseInt(coordinates[i]);
                var el = $("#L" + index);
                if (el != undefined && el.length > 0) {
                    view(el);
                }
            }
        }
    }

    function view(el) {
        if (el.hasClass("bfc")) {
            el.removeClass("bfc").addClass("bfczl");
        } else if (el.hasClass("bnc")) {
            el.removeClass("bnc").addClass("bnczl");
        } else if (el.hasClass("bpc")) {
            el.removeClass("bpc").addClass("bpczl");
        } else {
            el.addClass("bzl");
        }
    }
});